package com.liyuhan.entity;

import javax.persistence.Entity;

import javax.persistence.Id;
/**
 * Created by 李宇寒
 * Description:
 * 2019/6/23 0023 下午 8:41.
 */
@Entity
public class User {
    @Id
    private Long id;

    private String name;
    private int age;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
